Skip to content

Conversation

@gregorhcs
Copy link

@gregorhcs gregorhcs commented Dec 25, 2025

#317 Implemented generic save data container support for flow.

The Flow Subsystem now saves and loads from any UObject implementing the new IFlowSaveDataContainerInterface. The interfaces provides mutable and const access to the new FFlowSaveData struct, which wraps FFlowComponentSaveData and FFlowAssetSaveData.

To retain compatibility with UFlowSaveGame, that class now implements the new interface, thus projects can easily switch to the new API on the subsystem. I've marked the old API as deprecated.

@MothDoctor MothDoctor force-pushed the 5.x branch 2 times, most recently from 373190d to af300a9 Compare January 11, 2026 21:56
UFlowSaveGame() {}

virtual const FFlowSaveData& GetSaveData() const override { return FlowSaveData; }
virtual FFlowSaveData& GetSaveDataMutable() override { return FlowSaveData; }
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I'm thinking now it would be better if the interface would also allow BP implementation. I'll add that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant